package com.lvchenglong;

import com.lvchenglong.service.UserService;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * A template class for quick start project
 *
 * @author Lv Chenglong
 */
public class App {
    public static void main(String[] args) {

        AnnotationConfigApplicationContext app = new AnnotationConfigApplicationContext(AppConfig.class);
        UserService service = app.getBean(UserService.class);
        service.small();
    }
}
